package com.linghang.lhonline.repository;

import com.linghang.lhonline.dataobject.Reply;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ReplyRepository extends JpaRepository<Reply, Integer> {

    List<Reply> findByCommentId(Integer commentId);

    List<Reply> findByTargetId(Integer targetId);

    Reply findByReplyId(Integer replyId);
}
